﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="flashtu.aspx.cs" Inherits="flashtu" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>flash图</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <script type="text/javascript">

                var focus_width = 280;
                var focus_height = 222;
                var text_height = 18;
                var swf_height = focus_height + text_height;

                <%--  var pics = "<%=Pics%>";
                var links = "<%=Links%>";
                var texts = "<%=Texts%>";--%>

                var pics = "images/uploads/3ca41f7d-b0ef-4c7b-b241-9c2a3478c23e.jpg|images/uploads/2015072063774813.jpg";
                var links = "xxgkContent.aspx?art_id=2B5B54295F8B45C28C6D9E058531A455|xxgkContent.aspx?art_id=2675DB507CBA476186650A6DC0ABE428";
                var texts = "第三届机关党委换届选举党员大会|中心员工参加无偿献血活动";

                document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + focus_width + '" height="' + swf_height + '">');
                document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#CCCCCC">');
                document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
                document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '">');
                document.write('<embed src="images/mainImg/focus.swf" wmode="opaque" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '" menu="false" bgcolor="#ffffff" quality="high" width="' + focus_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
                document.write('</object>');

            </script>

        </div>
    </form>
</body>
</html>
